<?php

use think\migration\Seeder;

class ControlPlanFromTsinghuaPlanData extends Seeder
{
    /**
     * 管控 - 清华预案
     */
    public function run()
    {
        $table = $this->table('control_plan_from_tsinghua_plan');
        $rows  = [
            [
                'plan_number' => 'CZ2018-11-08 001号',
                'name'        => '预案1',
                'bureau_plan_id'    => '0001',
                'create_time' => date('Y-m-d H:i:s', time()),
            ],
            [
                'plan_number' => 'CZ2018-11-08 001号',
                'name'        => '预案2',
                'bureau_plan_id'    => '0001',
                'create_time' => date('Y-m-d H:i:s', time()),
            ],
            [
                'plan_number' => 'CZ2018-11-08 001号',
                'name'        => '预案3',
                'bureau_plan_id'    => '0001',
                'create_time' => date('Y-m-d H:i:s', time()),
            ],
        ];
        $table->insert($rows)->save();
    }
}